<%@ page import="java.util.Date" %>
<%@ page import="jakarta.servlet.http.HttpSession" %><%--
  Created by IntelliJ IDEA.
  User: LH
  Date: 2022/9/9
  Time: 15:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>

  欢迎,<%=application.getAttribute("username")+","+application.getAttribute("password")%>
  <h1>登录成功</h1>
  <h2>IP <%=request.getRemoteAddr()%></h2>
  <%
    Date date = new Date();
    response.setHeader("refresh","1");
  %>
  <%=date%>
  </body>
</html>
